//
//  BehaviorDecorator.h
//  Charles
//
//  Created by Leo on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Animal.h"


/**
 行为装饰者
 */
@interface BehaviorDecorator : Animal

@property (strong,nonatomic) Animal *component;

@end


@interface Eat : BehaviorDecorator

@end

@interface Fly : BehaviorDecorator

@end

@interface Shout : BehaviorDecorator

@end

@interface Run : BehaviorDecorator

@end
